﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="StockOutList.ascx.cs" Inherits="Controls_Activity_StockOutList" %>

    <div class="searchDiv" > 
       <table cellspacing="0" class="searchTable" style="margin-top:10px; margin-left:10px;">
        <tr>
            <td>
            出库单编号：
            </td>
            <td>
            <asp:TextBox ID="S_StockOutCode" runat="server" CssClass="smallInput" MaxLength="64" ></asp:TextBox>
            </td>
            <td>
            出库日期：
            </td>
            <td>
            <asp:TextBox ID="S_StockOutDate" runat="server" onfocus="calendar.ShowCaltable(this, event);" CssClass="smallInput" MaxLength="64" ></asp:TextBox>
            </td>
            <td>
            出库类型：
            </td>
            <td>
            <div class="select"><div><ofcc:DropDownList ID="S_StockOutType" runat="server" ></ofcc:DropDownList></div></div>
            </td>
            <td>
                &nbsp;&nbsp;<asp:Button ID="btnSearch" runat="server" OnClick="btnSearch_Click" Text=" 查询 "  CssClass="searchButton" />
            </td>
        </tr>
        </table> 
        </div>
        <ofcc:GridView ID="gridView" runat="server" AutoGenerateColumns="False" 
            OnRowDataBound="gridView_RowDataBound" 
            onsplitpageindexchange="gridView_SplitPageIndexChange">
            <Columns>
                <asp:TemplateField HeaderText="选择">
                    <ItemTemplate>
                        <input ID="StockOutID" name="StockOutID" type="radio" 
                            value='<%#DataBinder.Eval(Container.DataItem,"StockOutID")%>' />
                    </ItemTemplate>
                    <HeaderStyle Width="40px" />
                </asp:TemplateField>
                <asp:BoundField DataField="StockOutCode" HeaderText="出库单号" />
                <asp:BoundField DataField="StockOutDate" HeaderText="出库日期" />
                <asp:BoundField DataField="StockOutTypeName" HeaderText="出库类型" />
                <asp:BoundField DataField="UserName" HeaderText="经办人" />
                <asp:BoundField DataField="OrgName" HeaderText="经办部门" />
                <asp:BoundField DataField="CreateTime" HeaderText="录入日期" />
                <asp:BoundField DataField="Description" HeaderText="自动摘要" />
            </Columns>
        </ofcc:GridView>